package com.xkdx.caipiao.presistence.jifen;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.caipiao.module.network.AbsAction;

public class JifenAction extends AbsAction {
	String uid, token, index, size;

	public JifenAction(String uid, String token, String index, String size) {
		this.uid = uid;
		this.token = token;
		this.index = index;
		this.size = size;

	}

	@Override
	public void constructRequest() {

		HashMap<String, String> map = new HashMap<String, String>();
		map.put("uid", uid);
		map.put("logintoken", token);
		map.put("pageindex", index);
		map.put("pagesize", size);

		String json = constructJson(map);
		Parameter parameter = new Parameter("User", "ScoreLog", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);
	}
}
